package cn.appsys.service.deve;

import java.util.List;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import cn.appsys.dao.deve.AppVersionDao;
import cn.appsys.pojo.AppVersion;
@Service
public class AppVersionServiceImpl implements AppVersionService {
	
	@Resource
	private AppVersionDao adi;
	
	@Override
	public List<AppVersion> getAllByAppId(String id) {
		return adi.getAllByAppId(id);
	}

	@Override
	public int addVersion(AppVersion av) {
		return adi.addVersion(av);
	}

	@Override
	public AppVersion getOneById(String id) {
		return adi.getOneById(id);
	}

	@Override
	public int UpAppVersion(AppVersion av) {
		return adi.UpAppVersion(av);
	}

	@Override
	public int delFile(String id) {
		return adi.delFile(id);
	}

	@Override
	public int delApp(String id) {
		return adi.delApp(id);
	}

}
